package com.lee.lease.web.app.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lee.lease.model.entity.ApartmentInfo;
import com.lee.lease.web.app.vo.apartment.ApartmentDetailVo;
import com.lee.lease.web.app.vo.apartment.ApartmentItemVo;

/**
* @author liubo
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Mapper
* @createDate 2023-07-26 11:12:39
* @Entity com.atguigu.lease.model.entity.ApartmentInfo
*/
public interface ApartmentInfoMapper extends BaseMapper<ApartmentInfo> {


    String findApartmentName(Long apartmentId);

    ApartmentItemVo findApartmentInfoByRoomId(Integer id);


    ApartmentInfo getApartmentInfo(Integer id);

    boolean selectIsDelete(Integer id);

    ApartmentDetailVo getApartmentInfo1(Integer id);

    ApartmentDetailVo findApartmentDetailById2(Integer id);
}




